package com.ruoyi.tongban.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 ins_class
 * 
 * @author caiyanshan
 * @date 2021-03-09
 */
public class InsClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long classId;

    /** 机构id */
    @Excel(name = "机构id")
    private Long institutionId;

    /** 年级id */
    @Excel(name = "年级id")
    private Long gradeId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 班级别名 */
    @Excel(name = "班级别名")
    private String classCodename;

    /** 班级状态;对应字典表sys_dictionary表中的Status类型 */
    @Excel(name = "班级状态;对应字典表sys_dictionary表中的Status类型")
    private Integer status;

    /** 电视上的class_id,动态更新班级名称使用 */
    @Excel(name = "电视上的class_id,动态更新班级名称使用")
    private String tvClassId;

    /** 电视上的class_name的版本好,只有云端版本比园所版本号高,才会更新 */
    @Excel(name = "电视上的class_name的版本好,只有云端版本比园所版本号高,才会更新")
    private Long tvClassNameVersion;

    /** $column.columnComment */
    @Excel(name = "电视上的class_name的版本好,只有云端版本比园所版本号高,才会更新")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "电视上的class_name的版本好,只有云端版本比园所版本号高,才会更新")
    private Long updateUser;

    @Excel(name = "机构名称")
    private String institutionName;

    @Excel(name = "年级名称")
    private String gradeName;

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setClassCodename(String classCodename) 
    {
        this.classCodename = classCodename;
    }

    public String getClassCodename() 
    {
        return classCodename;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setTvClassId(String tvClassId) 
    {
        this.tvClassId = tvClassId;
    }

    public String getTvClassId() 
    {
        return tvClassId;
    }
    public void setTvClassNameVersion(Long tvClassNameVersion) 
    {
        this.tvClassNameVersion = tvClassNameVersion;
    }

    public Long getTvClassNameVersion() 
    {
        return tvClassNameVersion;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("institutionId", getInstitutionId())
            .append("gradeId", getGradeId())
            .append("className", getClassName())
            .append("classCodename", getClassCodename())
            .append("status", getStatus())
            .append("tvClassId", getTvClassId())
            .append("tvClassNameVersion", getTvClassNameVersion())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
